@use 'sass:map';

@use '@/assets/styles/common/var.scss' as *;
@use '@/assets/styles/mixins/_button.scss' as *;
@use '@/assets/styles/mixins/mixins.scss' as *;
@use '@/assets/styles/mixins/utils.scss' as *;
@use '@/assets/styles/mixins/_var.scss' as *;

@include b(module) {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #FFFFFF;

    &-head {
        position: relative;
        padding: 30px;
        display: flex;
        justify-content: space-between;

        .title {
            font-size: 28px;
            font-weight: 600;
            color: $tts-text-main;
            display: flex;
            align-items: center;

            &::before {
                content: " ";
                display: inline-block;
                width: 8px;
                height: 22px;
                border-radius: 6px;
                margin-right: 20px;
                background: linear-gradient(180deg, #63E4AE 0%, $tts-main-color 100%);
                box-shadow: 0px 4px 6px 0px rgba($tts-main-color, 0.4);
            }
        }
    }

    &__loading {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 200px;
    }

    &__loading-content {
        text-align: center;
        color: #999;
        font-size: 28px;
    }

    &__error {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 200px;
    }

    &__error-content {
        text-align: center;
        color: #999;
        font-size: 28px;
    }

    &__error-btn {
        margin-top: 20px;
        padding: 10px 30px;
        font-size: 28px;
        color: #fff;
        background-color: #007AFF;
        border-radius: 8px;
    }

    &__content {
        width: 100%;
    }
}
